package com.xukehong.frame.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xukehong.frame.entity.User;
import com.xukehong.frame.mapper.UserMapper;
import com.xukehong.frame.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表
 服务实现类
 * </p>
 *
 * @author 许克弘
 * @since 2020-02-26
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public int resultUserId(User user) {
        return userMapper.resultUserId(user);
    }
}
